<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>RD接口自动化测试</title>
    <link rel="icon" href="../static/images/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="../static/css/rdApi.css">
    <link rel="stylesheet" type="text/css"
          href="../static/css/bootstrap.min.css">
    <script type="text/javascript"
            src="../static/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="../static/js/bootstrap.min.js"></script>
</head>
<body>
<script type="text/javascript" src="../static/js/rdapi.js"></script>
<div id="wrap">
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="row tableHeader">
                <div style="text-align: center"
                     class="col-lg-1 col-md-1 col-sm-1 col-xs-1 ">
                    编码
                </div>
                <div style="text-align: center"
                     class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                    名称
                </div>
                <div style="text-align: center"
                     class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                    链接
                </div>
                <div style="text-align: center"
                     class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                    操作
                </div>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">1</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>闪电借款RD接口自动化测试</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>
                <!-- Modal -->
                <button id="btnruner1" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick=run1()>执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">2</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>现金速递RD接口自动化测试</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>
                <button id="btnruner2" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick=run2()>执行
                </button>
            </div>
        </div>
    </div>
    <div class="tablebody">
        <div class="row">
            <div style="text-align: center"
                 class="col-lg-1 col-md-1 col-sm-1 col-xs-1">
                <span style="background-color: #2aabd2" class="badge">3</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                <span>掌e贷RD接口自动化测试</span>
            </div>
            <div style="text-align: center"
                 class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
                http://20.1.1.210/jenkins
            </div>
            <div style="text-align: center"
                 class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                <button class="btn btn-default btn-xs" data-toggle="modal"
                        data-target="#myEmail">邮件
                </button>
                <button id="btnruner3" class="btn btn-success btn-xs"
                        disabled="disabled" data-loading-text="执行中"
                        onclick=run3()>执行
                </button>
            </div>
        </div>
    </div>
    <br>
    <div style="text-align:center;bottom: 0;">
        <span style=" color: red">说明：不可点击的执行,为已有任务执行中!</span>
    </div>
</div>
<div class="modal fade" id="myEmail" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close"
                        data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    邮件</h4>
            </div>
            <div class="modal-body">
                                <textarea id="Addemail" type="text"
                                          class="form-control"
                                          placeholder="请输入收件人,多人用;隔开！"></textarea>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default"
                        data-dismiss="modal"
                        onclick="saveEmail()">保存
                </button>
            </div>
        </div>
    </div>
</div>

</body>
</html>